/*
 *  test/test_bs.c
 *
 *  Harry Wei <harryxiyou@gmail.com> (C) 2011
 */
#include "algorithm.h"

int main(int argc, char **argv) 
{
	int a[10] = {1, 2, 3, 5, 6, 7, 8, 9, 10, 11};
	int index = 0;
	if (-1 == (index = bs_newer(a, 7, 10))) {
		return -1;
	}
	g_message("index is %d", index);
	return 0;
}
